.personalMessageBox {
  display: flex;
  flex-direction: column;
  align-items: center;
  .header {
    width: 100%;
    padding-left: 40px;
  }
  .title {
    margin: 15px 0;
    margin-top: 20px;
    margin-left: 0;
    font-weight: 700;
    font-size: 18px;
  }
  .headImg {
    position: relative;
    min-width: 127px;
    min-height: 127px;
    margin-top: 12px;
    border-radius: 50%;
    img {
      width: 128px;
      height: 128px;
      object-fit: cover;
      overflow: hidden;
      border-radius: 50%;
    }
  }
  .from {
    margin-top: 48px;
    input {
      width: 280px;
    }
  }
  :global {
    .ant-form-item-label > label::after {
      margin-right: 20px;
      content: '';
    }
  }
  .submitBtn {
    width: 98px;
    height: 40px;
    margin-top: 36px;
  }
  .info {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    box-sizing: content-box;
    width: 128px;
    height: 128px;
    overflow: hidden;
    border-radius: 50%;
    cursor: pointer;
    &::before {
      position: absolute;
      z-index: 1;
      width: 100%;
      height: 100%;
      background-color: rgba(55, 72, 106, 0.6);
      border-radius: 50%;
      opacity: 0;
      transition: all 0.3s;
      content: ' ';
    }
  }

  .actions {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 10;
    color: var(--font);
    font-size: 16px;
    white-space: nowrap;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: all 0.3s;
  }

  .info:hover {
    &::before {
      opacity: 1;
    }
    .actions {
      opacity: 1;
    }
  }

  .info:hover + .actions,
  .actions:hover {
    opacity: 1;
  }
}
